<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['goods_pmt']=array (
    'columns' =>
        array (
            'id' =>
                array (
                    'type' => 'number',
                    'required' => true,
                    'pkey' => true,
                    'extra' => 'auto_increment',
                    'label' => app::get('b2c')->_('分类ID'),
                    'width' => 110,
                    'editable' => false,
                    'in_list' => true,
                    'default_in_list' => true,
                ),
            'goods_id' =>
                array (
                    'type' => 'number',
                    'label' => app::get('b2c')->_('商品ID'),
                    'width' => 110,
                    'editable' => false,
                    'in_list' => false,
                    'parent_id'=>true,
                ),
            'price' =>
                array (
                    'type' => 'money',
                    'default' => '0',
                    'label' => app::get('b2c')->_('销售价'),
                    'width' => 75,
                    'editable' => false,
                ),
            'mktprice' =>
                array (
                    'type' => 'money',
                    'default' => '0',
                    'editable' => false,
                    'filtertype' => 'number',
                    'in_list' => false,
                ),
            'last_modify' =>
                array (
                    'type' => 'last_modify',
                    'label' => app::get('b2c')->_('更新时间'),
                    'width' => 110,
                    'editable' => false,
                    'in_list' => false,
                    'orderby' => false,
                ),
        ),
    'index' =>
        array (
            'goods_id' =>
                array (
                    'columns' =>
                        array (
                            0 => 'goods_id',
                        ),
                )
        ),
    'version' => '$Rev: 41329 $',
    'comment' => app::get('b2c')->_('价格促销'),
);
